//
//  CustomTransitionContext.h
//  Objective-C
//
//  Created by 陆承东 on 2018/7/7.
//  Copyright © 2018年 S_Line. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CustomTransitionContext : NSObject<UIViewControllerContextTransitioning>

/// A block of code we can set to execute after baving received the completeTransition: message.
@property (nonatomic, copy) void (^completionBlock)(BOOL didComplete);
/// Private setter for the animated property.
@property (nonatomic, assign, getter=isAnimated) BOOL animated;
/// Private setter for the interactive property.
@property (nonatomic, assign, getter=isInteractive) BOOL interactive;

- (instancetype)initWithFromVC:(UIViewController *)fromVC toVC:(UIViewController *)toVC goingRight:(BOOL)goingRight;

@end
